import ImgPath from './ImgPath.vue';
import ImgUpload from './ImgUpload.vue';
import FileUpload from './FileUpload.vue';
import Badge from './Badge.vue';
/*import Tabs from './Tab/index.vue';
import TabPanel from './Tab/tab.vue';*/
import TimeLabel from './TimeLabel.vue';

import BtnRefresh from './Button/BtnRefresh.vue';
import BtnSubmit from './Button/BtnSubmit.vue';
import  BtnConfirm from './Button/BtnConfirm.vue';

import CPage from './CPage.vue';
import CTable from './CTable.vue';
import CThead from './CThead.vue';
import LazyDetailPage from './LazyDetailCpt/index';
import LazyDetailCpt from './LazyDetailCpt/LazyDetailCpt.vue';
import TextareaAlert from './TextareaAlert.vue';
import PasswordAlert from './PasswordAlert.vue';

import CHtmlEditor from './CHtmlEditor.vue';
import CPagePreview from './CPagePreview.vue';
import CPageIframe from './CPageIframe.vue';
import CNumberInput from './NumberInput.vue';

import CHeader from './CHeader.vue';

export default {
    install: function(Vue){
        Vue.component(BtnSubmit.name, BtnSubmit);
        Vue.component(BtnRefresh.name, BtnRefresh);
        Vue.component(BtnConfirm.name, BtnConfirm);

        Vue.component(ImgPath.name, ImgPath);
        Vue.component(ImgUpload.name, ImgUpload);
        Vue.component(FileUpload.name, FileUpload);
        /*Vue.component('CTabs', Tabs);
        Vue.component('CTabPane', TabPanel);*/
        Vue.component(TimeLabel.name, TimeLabel);
        Vue.component(Badge.name, Badge);
        Vue.component(CPage.name, CPage);
        Vue.component(CTable.name, CTable);

        Vue.prototype.$LazyPage = LazyDetailPage;
        Vue.component(LazyDetailCpt.name, LazyDetailCpt);

        Vue.component(TextareaAlert.name, TextareaAlert);
        Vue.component(PasswordAlert.name, PasswordAlert);

        Vue.component(CHtmlEditor.name, CHtmlEditor);
        Vue.component(CPagePreview.name, CPagePreview);
        Vue.component(CPageIframe.name, CPageIframe);

        Vue.component(CNumberInput.name, CNumberInput);

        Vue.component(CHeader.name, CHeader);
    }
}